package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * BdpWfAuditState
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class BdpWfAuditState extends Model<BdpWfAuditState> {

    private static final long serialVersionUID=1L;

    /**
     * 状态标识
     */
    @TableId("STATE_ID")
    private String stateId;

    /**
     * 状态名称
     */
    @TableField("STATE_NAME")
    private String stateName;

    /**
     * 状态代码
     */
    @TableField("STATE_CODE")
    private Integer stateCode;

    /**
     * 公司
     */
    @TableField("INNER_COMPANY_ID")
    private String innerCompanyId;

    /**
     * 创建人
     */
    @TableField("INNER_CREATOR_ID")
    private String innerCreatorId;

    /**
     * 创建时间
     */
    @TableField("INNER_CREATE_TIME")
    private LocalDateTime innerCreateTime;

    /**
     * 删除标志
     */
    @TableField("INNER_DELETE_FLAG")
    private Integer innerDeleteFlag;


    public String getStateId() {
        return stateId;
    }

    public BdpWfAuditState setStateId(String stateId) {
        this.stateId = stateId;
        return this;
    }

    public String getStateName() {
        return stateName;
    }

    public BdpWfAuditState setStateName(String stateName) {
        this.stateName = stateName;
        return this;
    }

    public Integer getStateCode() {
        return stateCode;
    }

    public BdpWfAuditState setStateCode(Integer stateCode) {
        this.stateCode = stateCode;
        return this;
    }

    public String getInnerCompanyId() {
        return innerCompanyId;
    }

    public BdpWfAuditState setInnerCompanyId(String innerCompanyId) {
        this.innerCompanyId = innerCompanyId;
        return this;
    }

    public String getInnerCreatorId() {
        return innerCreatorId;
    }

    public BdpWfAuditState setInnerCreatorId(String innerCreatorId) {
        this.innerCreatorId = innerCreatorId;
        return this;
    }

    public LocalDateTime getInnerCreateTime() {
        return innerCreateTime;
    }

    public BdpWfAuditState setInnerCreateTime(LocalDateTime innerCreateTime) {
        this.innerCreateTime = innerCreateTime;
        return this;
    }

    public Integer getInnerDeleteFlag() {
        return innerDeleteFlag;
    }

    public BdpWfAuditState setInnerDeleteFlag(Integer innerDeleteFlag) {
        this.innerDeleteFlag = innerDeleteFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.stateId;
    }

    @Override
    public String toString() {
        return "BdpWfAuditState{" +
        "stateId=" + stateId +
        ", stateName=" + stateName +
        ", stateCode=" + stateCode +
        ", innerCompanyId=" + innerCompanyId +
        ", innerCreatorId=" + innerCreatorId +
        ", innerCreateTime=" + innerCreateTime +
        ", innerDeleteFlag=" + innerDeleteFlag +
        "}";
    }
}
